﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameUtils;
using ThouShaltNotBrick.Logic.GeneralObjects;

namespace ThouShaltNotBrick.Logic.Helpers
{
    public static class GameHelpers
    {
        #region Methods
        public static RectangleF GetBounds(Ball pBall)
        {
            float x = pBall.Radius;
            float y = -pBall.Radius;
            float width = Constants.LEVEL_WIDTH - 2.0f * pBall.Radius;
            float height = Constants.LEVEL_HEIGHT;
            return new RectangleF(x, y, width, height);
        }
        #endregion
    }
}